package com.gsmr.service.impl;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFCellStyle;
import org.apache.poi.hssf.usermodel.HSSFFont;
import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.stereotype.Service;

import com.gsmr.dao.SysOperationRecordDao;
import com.gsmr.entity.SysOperationRecord;
import com.gsmr.service.SysOperationRecordService;

/**
 * SysoperationrecordService实现类
 * @author sysoperationrecord
 *
 */
@Service("sysOperationRecordService")
public class SysOperationRecordServiceImpl implements SysOperationRecordService{

	@Resource
	private SysOperationRecordDao sysOperationRecordDao;
	
	public int add(Map<String, Object> map) {
		return sysOperationRecordDao.add(map);
	}

	public List<SysOperationRecord> find(Map<String, Object> map) {
		return sysOperationRecordDao.find(map);
	}

	public Long getTotal(Map<String, Object> map) {
		return sysOperationRecordDao.getTotal(map);
	}

}
